package com.example.sherlockzhong.plush_v2.View;

/*
 * Created by DosonLeung on 2014/8/9.
 */

import android.content.Context;
import android.util.AttributeSet;

public class CardHorizontalScrollView extends BasicCardView {

    public CardHorizontalScrollView(Context context) {
        super(context);
        this.ctx = context;
    }

    public CardHorizontalScrollView(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
        this.ctx = context;
    }

    @Override
    protected void showInnerTable(int index) {
        //Consumption
        if (this.cardClass.equals("Consumption")) {
            showConsumptionOutside();
        }
        //Exam
        else if (this.cardClass.equals("Exam")) {
            showExamOutside();
        } else if (this.cardClass.equals("Grade")) {
            showGradeOutside();
        } else if (this.cardClass.equals("Lesson")) {
            showScheduleOutside();
        } else if (this.cardClass.equals("News")) {
            showNewsOutside();
        } else if (this.cardClass.equals("Weather")) {
            showWeatherOutside();
        }

    }

    //课程表outside
    private void showScheduleOutside() {

    }

    //天气表outside
    private void showWeatherOutside() {

    }

    //消费表outside
    private void showConsumptionOutside() {

    }

    //成绩表
    private void showGradeOutside() {

    }

    //考试表
    private void showExamOutside() {

    }

    //组织活动表
    private void showNewsOutside() {

    }

}